package com.deram.ctin.rest.web.result.web;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "企业关系网-节点")
public class WebNodeResult {

    @ApiModelProperty(value = "节点id")
    private String id;

    @ApiModelProperty(value = "企业ID")
    private Long enterId;

    @ApiModelProperty(value = "自然人Id")
    private Long userId;

    @ApiModelProperty(value = "1：企业，0：自然人")
    private Integer value;

    @ApiModelProperty(value = "节点label")
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}